import request from './request'
export default {
	//get
	'get': (url,data) => request({url:url,data:data,method:"GET"}),
	//post
	"post":(url,data) =>  request({url:url,data:data,method:"POST"}),
	"put":(url,data) =>  request({url:url,data:data,method:"PUT"}),
	"del":(url,data) =>  request({url:url,data:data,method:"DELETE"}),
}